# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-appfinder
pkgver=4.14.0
pkgrel=0
pkgdesc="Xfce application finder"
url="https://xfce.org/"
arch="all"
license="GPL-2.0-or-later"
depends="hicolor-icon-theme"
makedepends="thunar-dev gtk+3.0-dev libxfce4ui-dev garcon-dev"
subpackages="$pkgname-lang"
replaces="xfce-utils"
source="https://archive.xfce.org/src/xfce/xfce4-appfinder/${pkgver%.*}/xfce4-appfinder-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--localstatedir=/var \
		--disable-static
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}
sha512sums="94c7266fc7c738107f1674ea3d705aa4168d9f2ecada97dc3e97c85c3857bd37a2e6517028fb51dd4663eaba4bf758927879c7fdbff83df79f8648c61944402c  xfce4-appfinder-4.14.0.tar.bz2"
